import axios from "axios";
axios.interceptors.request.use((config) => {
  config.headers["Authorization"] = localStorage.getItem("token")
  return config
}, (erorr) => {
  return Promise.reject(erorr)
})
axios.interceptors.response.use((res) => {
  return res
}, (erorr) => {

})
export default axios